home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
gfx
/
conv
/
JpegTool.lha
/
JpegTool
/
JpegTool.doc
< prev
Wrap
Text File
|
1999-02-25
|
4KB
|
120 lines
JpegTool
© 1999 by Stephan Rupprecht
All rights reserved.
COPYRIGHT AND DISCLAIMER
JpegTool is copyrighted 1999 by Stephan Rupprecht. All rights
reserved. This program is freeware, so no financial donations
required. Redistribution allowed if the package is left unchanged.
The author is not responsible for any damage caused by the use
or misuse of this documentation and/or the program(s) it describes.
REQUIREMENTS
Any Amiga® (compatible) computer with at least OS3 and '020+ cpu.
jpeg.library v2+ by Paul Huxham (util/libs/jpeglibrary*.lha or
http://mafeking.scouts.org.au/~paulh).
picture.datatype v43 and datatypes.library v45 (optional, see later).
DESCRIPTION
JpegTool allows you to convert any image that is recognized by
datatypes into a jpeg image and vice versa.
Features (mainly provided by jpeg.library)
· can create thumbnails from jpegs.
· allows to create progressive images (jpeglib v5).
· provides block smoothing for decompression (jpeglib v5).
· dct method (jpeglib v4) as well as quality and smoothing
factor can be changed.
· optionally creates grayscale images.
INSTALLATION
Simply copy JpegTool to where-ever-you-want :)
USAGE
You can start JpegTool only from shell, since it's a DOS command
(except for the possibility to start it from Workbench through
the menu item 'Execute Command...'). The following options are
provided:
FROM/A,TO/A,DESTDATATYPE=DATATYPE=DTN,Q=QUALITY/N/K,
S=SMOOTHING/N/K,DCT=DCTMETHOD/K,BS=BLOCKSMOOTHING/S,
P=PROGRESSIVE/S,SN=SCALENUM/N/K,SD=SCALEDENOM/N/K,
GS=GRAYSCALE/S,QUIET/S
FROM/A specifies the image to convert and TO/A the destination
file. Once de-/encoding an jpeg stream has been started, it can be
aborted by pressing ctrl-c.
DESTDATATYPE=DATATYPE=DTN: Tells the program to create a datatypes
object from a jpeg stream. To create an ilbm picture specify
DTN=picture (no .datatype ending!). This option requires picture
datatype v43 and datatypes.library v45! And, of course, the
specified subclass of picture dt must be v43 compatible and provide
an encoder.
Q=QUALITY/N/K: quality of the jpeg stream to create (1%..100%).
default: 75
S=SMOOTHING/N/K: smoothing factor of the jpeg stream to create
(0%..100%). default: 0 (= no smoothing)
DCT=DCTMETHOD/K: allows to specify the dct method used for
de-/encoding. The following keywords are recognized:
ISLOW: integer, slow, more accurate (default).
IFAST: integer, fast, less accurate.
FLOAT: float, fast on fast machines, most accurate.
BS=BLOCKSMOOTHING/S: do block smoothing when decompressing.
default: off
P=PROGRESSIVE/S: create progressive jpeg.
default: off
SN=SCALENUM/N/K: scaling numerator when decompressing a jpeg image.
The jpeg code only supports a value of 1 (default) currently.
SD=SCALEDENOM/N/K: scaling denominator when decompressing a jpeg
image. Denominators supported are 1 (default), 2, 4 and 8. Eg. if
you want to have an image that is halve of the size of the original
one specify SD=2.
GS=GRAYSCALE/S: create grayscale image. default: off.
QUIET/S: suppresses any message except error messages.
default: off
HISTORY
1.0 first public release
1.1 fixed a few non-serious bugs. added grayscale option. creates
an 8bit image from a grayscale jpeg, now (before truecolor).
fixed p96 picturedt problems.
FUTURE
a gui ?
bugfixes ;)
your suggestions
SPECIAL THANKS GO TO
Paul Huxham for his jpeg.library.
Olaf Barthel for his help.
AUTHOR
Please send bug reports and ideas to
Stephan Rupprecht
Apfeldweg 1
D44359 Dortmund
Germany
Send emails to
stephan.rupprecht@gmx.de